Skip to content

chore!: bump effect to ^4.1.4 - #1248

Merged
Mkassabov merged 1 commit into
mainfrom
chore/effect-4.1.4
Nov 15, 2026
Merged

Mkassabov merged 1 commit into
mainfrom
chore/effect-4.1.4

Conversation

@Mkassabov

Copy link
Copy Markdown
Collaborator

Raises the effect and @effect/platform-node catalog ranges (the SDKs' peer range) from ^4.1.2 to ^4.1.4, and makes core's strict response checker follow Effect's new own-property rule.

Why

Effect 4.1.3 added SchemaAST.requiresOwnProperty: a field named after an Object.prototype member (constructor, toString, ...) counts as present only when it is an own property. Core's strict checker (response-validation-strict.ts) must accept exactly what Effect Schema accepts, and it still special-cased only __proto__. On Effect 4.1.4 (npm latest), 2 tests in packages/core/test/response-validation-strict.test.ts fail. One failing input: the response {"a":1} against a schema with an optional constructor field. Effect accepts it, and core rejected it because it read the inherited Object function.

The checker now uses Effect's rule, which fails on Effect 4.1.2 (it read inherited keys), so the floor moves to 4.1.4. The nightly Compatibility run (#1244) runs the lowest and latest Effect in the range.

Breaking: an app on effect 4.1.2 or 4.1.3 now gets a peer-dependency warning; ^4.1.4 installs today's latest.

Checked

  • pnpm vitest run: 124 files, 2,521 tests pass on effect 4.1.4; response-validation-strict.test.ts (random schemas) passes 5 runs in a row.
  • tsrs -b packages/core --noCheck false and oxlint on the changed file: clean.
  • No generated service has a field named after an Object.prototype member, so no SDK output changes.

github-actions Bot added a commit that referenced this pull request Nov 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Benchmarks: PR ff338a0c7 vs main 30124ccaf

  • 🔴 Bundle size 54.4 KB: +1.2% (+636 B), bigger than main
  • ⚪ Runtime speed 2.6 µs: −1.7% (−0.0 µs), same as main
  • ⚪ Runtime memory 787.1 KB: −0.1% (−976 B), same as main
  • ⚪ Objects at import 1,065: ±0.0% (±0), same as main
  • ⚪ Whole-SDK memory aws 39.7 MB (−0.0%), cloudflare 8.22 MB (−0.0%), gcp 24.7 MB (+0.1%)
  • ⚪ Repo size 537.6 MB tracked in 9,685 files, same as main (+410 B). .generated-specs/ 0 B, src/services/ 508.2 MB, everything else 29.3 MB.

sdk-memory

bundle-programs

memory-programs

bundle memory
speed objects

Numbers
Metric Change vs main Programs
Bundle (gzip) 17 worse 17
Import heap no change 6
Objects at import no change 6
Added latency (p50) ¹ no change 6
Import time ¹ no change 6
First call ¹ no change 6
Program Call Bundle (gzip) Import heap Objects at import Added latency (p50) Import time First call
aws s3.listBuckets 74.2 KB (+0.7%) 🔴 — — — — —
aws~awsJson1_0 dynamodb.listTables 67.1 KB (+0.8%) 🔴 — — — — —
aws~awsJson1_1 kms.listKeys 66.4 KB (+0.8%) 🔴 — — — — —
aws~awsQuery sts.getCallerIdentity 67.8 KB (+0.8%) 🔴 — — — — —
aws~ec2Query ec2.describeRegions 67.8 KB (+0.9%) 🔴 — — — — —
aws~restJson1 lambda.listFunctions 68.4 KB (+0.8%) 🔴 — — — — —
azure resources.ListTenants 57.0 KB (+1.1%) 🔴 — — — — —
cloudflare workers.listScripts 69.0 KB (+1.1%) 🔴 — — — — —
cloudflare~CloudflareProtocol ips.listIps 49.6 KB (+1.2%) 🔴 — — — — —
fly-io machines.getRegions 50.6 KB (+1.3%) 🔴 768.7 KB 1,071 3.2 µs 7.6 ms 3.0 ms
fly-io~FlyApiProtocol mpg.listUsers 50.3 KB (+1.2%) 🔴 661.0 KB 965 2.2 µs 7.7 ms 3.0 ms
fly-io~SpritesProtocol sprites.createOrganizationToken 51.0 KB (+1.2%) 🔴 708.3 KB 1,007 5.4 µs 7.7 ms 3.2 ms
gcp storage_v1.listBuckets 50.4 KB (+1.2%) 🔴 — — — — —
github gists.list 53.2 KB (+1.2%) 🔴 650.7 KB 937 2.6 µs 6.5 ms 3.2 ms
neon neon.listProjects 51.9 KB (+1.2%) 🔴 829.0 KB 1,065 1.5 µs 7.2 ms 3.1 ms
resend resend.listLogs 51.5 KB (+1.2%) 🔴 857.7 KB 1,127 1.6 µs 7.6 ms 2.8 ms
stripe stripe.GetFiles 50.0 KB (+1.3%) 🔴 — — — — —

PR ff338a0c7 against main 30124ccaf (main's cached run from 2026-11-15 17:51 UTC). 17 programs, measured in 60 s on 8 vCPU.

Package Tarball Unpacked Files
core 324.4 KB (+0.1%) 1.3 MB (+0.1%) 229
fly-io 249.7 KB 1.6 MB 73
github 2.1 MB 19.6 MB 340
neon 218.4 KB 1.2 MB 47
resend 172.8 KB 1.2 MB 57
Tracked files Size Change vs main Files
services 508.2 MB ±0 B 2,969
in-tree-specs 98.3 KB ±0 B 4
patches 10.0 MB ±0 B 4,145
handwritten 7.1 MB +410 B 1,876
benches 9.6 MB ±0 B 204
other 2.5 MB ±0 B 487
Total 537.6 MB +410 B 9,685

What a checkout or worktree writes to disk, from git ls-tree (benches/repo-size/tree.ts). The dashboard's Repo size page has the full picture.

Effect alone: effect-minimal bundle 8.9 KB gzip, hand-written effect-http call 48.6 KB gzip; effect import 63.7 ms and 12.8 MB heap; bare mocked HTTP roundtrip 9.6 µs p50.

Bundled (from src/): resend, neon, github, fly-io, aws, cloudflare, gcp, azure, stripe. Built and probed (from lib/): resend, neon, github, fly-io.

Job time: bundle 6.5 s, build: tsrs 2.2 s, build: bundle-lib 34.5 s, build: strip-lib-docs 0.1 s, build 36.7 s, size 0.8 s, runtime 11.4 s, providers 4.9 s.

¹ Timings run on a different runner than main's, so 🟡 marks a large move that may still be noise. Sizes, heap and object counts are stable. Offline: every call hits a canned in-memory response. Full suite: node benches/sdks/run.ts. Job log

@alchemy-version-bot

Copy link
Copy Markdown
Contributor

Install the packages built from this commit:

@distilled.cloud

pnpm install https://pkg.distilled.cloud/@distilled.cloud/acme/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/adyen/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/anthropic/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/apache-superset/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/archil/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/argocd/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/auth0/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/aws/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/aws4signer/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/axiom/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/azure/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/boat-dev/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/celld/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/chronosphere/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/clerk/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/clickhouse-cloud/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/cloudflare/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/coinbase/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/coinflow/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/convex/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/coolify/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/core/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/customerio/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/datadog/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/daytona/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/digitalocean/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/discord/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/docker/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/dokploy/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/doppler/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/e2b/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/elasticsearch/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/entire/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/exa/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/expo-eas/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/fly-io/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/forgejo/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/gcp/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/github/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/google-workspace/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/grafana/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/growthbook/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/gusto/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/hetzner/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/hostinger/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/huggingface/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/iceberg/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/infisical/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/inngest/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/intercom/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/kubernetes/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/launchdarkly/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/linear/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/mailchimp/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/meilisearch/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/mercury/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/metabase/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/modal/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/modrinth/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/mongodb-atlas/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/namespacelabs/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/neon/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/netbird/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/notion/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/npm/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/okta/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/onepassword/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/opencode/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/opensearch/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/ovh/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/paypal/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/plaid/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/planetscale/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/polar/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/polymarket/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/porkbun/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/posthog/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/prisma/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/proxmox/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/questrade/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/railway/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/redis-cloud/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/remote/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/render/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/resend/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/revenuecat/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/rivet/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/s2/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/s3/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/scaleway/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/sentry/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/slack/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/spacetimedb/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/squarespace/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/stackit/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/starburst-galaxy/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/steel/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/stripe/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/supabase/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/surrealdb/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/tailscale/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/technitium/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/temporal/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/tencentcloud/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/trigger-dev/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/turbopuffer/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/turso/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/typesense/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/unkey/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/vanta/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/vercel/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/whop/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/workos/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/xata/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/zendesk/pr:1248:ff338a0
pnpm install https://pkg.distilled.cloud/@distilled.cloud/zerossl/pr:1248:ff338a0

Published Nov 15, 2026, 5:57 PM UTC. Expires Nov 22, 2026, 5:57 PM UTC, extended while this pull request is open.

@Mkassabov
Mkassabov added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit 16fdae4 Nov 15, 2026
13 checks passed
@Mkassabov
Mkassabov deleted the chore/effect-4.1.4 branch November 15, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant